import request from '../request.js';

//查询关注的所有的用户
export const getFollowUser = () => {
	return request({
		url: '/follow/getFollowUser', 
		method: 'get',
	});
};


//判断两个用户之间的关注状态
export const isFollow = (userId,friendId,) => {
	return request({
		url: '/follow/isFollow', 
		method: 'get',
		params: {
		  userId,
		  friendId
		},
	});
};



// 修改关注的状态
  export function updateFollowStatus(userId,friendId,status) {
    return request({
      url: '/follow/updateFollowStatus',
      method: 'put',
      params: { 
        userId,
		friendId,
		status
      }
    });
  }